package com.sgx.learning.luban.homework.attributes.ext.stackmapframe.checkvariable;

import com.sgx.learning.luban.homework.attributes.ext.stackmapframe.checkvariable.VerificationTypeInfo;
import com.sgx.learning.luban.homework.basictype.U2;
import lombok.Data;

import java.io.IOException;
import java.io.InputStream;

@Data
public class ObjectVariableInfo extends VerificationTypeInfo {
    private short cpoolIndex;

    @Override
    public void read(InputStream is) throws IOException {
        this.cpoolIndex = U2.read(is).getValue();
    }
}
